package org.campuscontent.config;

import java.awt.Color;

public interface Config
{
	// repository server address
	//	String REPOSITORY_SERVER = "http://localhost/automata/test.php";
//	String REPOSITORY_SERVER="http://132.176.5.43/automata/test.php";
//	String REPOSITORY_SERVER="http://132.176.5.43/automata-test/test.php";
 
//	String REPOSITORY_SERVER="http://132.176.5.179/campuscontent/test.php";    // for presentation
	String REPOSITORY_SERVER="http://soc-group.dvt.fernuni-hagen.de/campuscontent/test.php";    // for presentation

	
//		String REPOSITORY_SERVER="http://localhost/campuscontent/test.php";    // for presentation
	//	String REPOSITORY_SERVER="http://132.176.5.206/campuscontent/para.xml";    // for presentation

	//	String REPOSITORY_SERVER="https://servtech.dvt.fernuni-hagen.de/campuscontent/test.php";    // for presentation


	String as = "";

	// the root windows size
	public static int ROOT_WIDTH = 800;
	public int ROOT_HEIGHT = 600;
	public int LEFT_DIVIDER_LOCATION = 200;
	public int RIGHT_DIVIDER_LOCATION = 650;
	
	int POSITION_TO_HIDE_WRONG_AUTOMATA_EDITOR = 2400;
	int POSITION_TO_SHOW_WRONG_AUTOMATA_EDITOR = 300;
	int POSITION_TO_SHOW_TEMPLATE = 510;
	int POSITION_TO_SHOW_TEMPLATE_WITH_PICTURE = 380;
	int POSITION_TO_SHOW_ALLOC = 465;
	int POSITION_TO_SHOW_PROBLEM_CONTROLS = 700;
	int POSITION_TO_HIDE_PROBLEM_CONTROLS = 2500;
	int DIVIDER_SIZE = 6;
	int BUTTON_WIDTH = 130;
	int BUTTON_HEIGHT = 30;

	// button action
	String ADD_NODE = "Add node";
	String ADD_AUTOMATA = "New Automata";
	String ADD_EXERCISE = "New Exercise";
	String ADD_PROBLEM = "New Problem";
	String SUBMIT = "Prüfen";
	String SOLUTION = "Lösung";

	int PHP_QUERY_READ           = 1;
	int PHP_QUERY_WRITE          = 2;
	int PHP_QUERY_READ_FROM_FILE = 3;
	int PHP_QUERY_WRITE_TO_FILE  = 4;
	
	String ALLOC_TABLE_SPLITOR = "R-O-W";

	String NEW_SELECTED_PROBLEM = "New current selected problem";
	String NEW_SELECTED_EXERCISE = "New current selected exercise";

	String REMOVE_NODE = "Remove";
	String PREVIEW = "Seitenansicht";
	String EXIT_PREVIEW = "schließen";
	String PUBLISH_TO_REPOSITROY = "Publish to Repositroy";
	String EDIT = "Edit Problem";
	String SAVE_CHANGES = "Speichern";
	String SAVE_AS = "Speichern unter";

	String DISCARD_CHANGES = "Änderung verlassen";
	String EXIT_AUTOMATA = "Exit Program";

	String test = "";

	// number of exercises in the tree of teacher controls panel
	int EXERCISTS_EXIST_NUMBER = 2;

	// String

	String SAVE_LOBJECT_CHANGES = "Would you like save changes to current Learn Object?Yes,to override;No,to save as a new;Cancel,Do nothing.";
	String SAVE_LOBJECT_CHANGES_NEWUSER = "Would you like save changes to a new Learn Object?Yes,to save;No,to do nothing.";
	String SAVE_EXERCISE_CHANGES = "Would you like save changes at current exercise?";
	String SAVE_CHAGENS_CONFIRMATION = "Save Changes Confirmation";
	String REMOVE_EXERCISE = "Do you really want to remove the selected exercise?";
	String REMOVE_EXERCISE_CONFIRMATION = "Remove exercise Confirmation";

	// variables for layout
	int al = 10; // Abstand links
	int ao = 10; // Abstand oben
	int widthLabel = 30;
	int widthHalf = 160;
	int widthFull = 4 * widthHalf + 3 * al + 3 * widthLabel;
	int height = 25;

	// ///////////////////////////////////////////////////////////////////////
	// ////////////////////////// Tooltips ///////////////////////////////////
	// ////////////////////////////////////////////////////////////////////////

	public static final String TooltipSource = "Ausgangszustand der Transition";
	public static final String TooltipEntry = "Uebergangszeichen der Transition";
	public static final String TooltipEnd = "Folgezustand der Transition";
	public static final String TooltipSimulate = "Hier das zu simulierende Wort eingeben";
	public static final String TooltipSimulateBegin = "Anfang der Simulation";
	public static final String TooltipSimulateForward = "Ein Schritt vorwaerts";
	public static final String TooltipSimulateBack = "Ein Schritt rueckwaerts";
	public static final String TooltipSimulateEnd = "Ende der Simulation";
	public static final String TooltipStates = "Menge der Zustaende";
	public static final String TooltipAcceptingStates = "Menge der Endzustaende";
	public static final String TooltipInitialState = "Der Startzustand des Automaten";
	public static final String TooltipTransitions = "Menge der Transitionen";
	public static final String TooltipAlphabet = "Das Alphabet des Automaten";

	public static final Color ColorParameterPanel = new Color(169, 190, 211);
	public static final Color ColorAllocationTablePanel = new Color(169, 190, 211);
	public static final Color ColorWarningMessage = new Color(250, 180, 180);
	public static final Color ColorAllocationTableNewRowPanel = new Color(220, 220, 220);
	public static final Color ColorAllocationTable = new Color(169, 190, 211);
	public static final Color ColorPanelButtons = new Color(214, 220, 226);
	public static final Color ColorPanelButtonsWarning = new Color(250, 180, 180);
	public static final Color ColorSimulation = new Color(40, 240, 80);
	public static final Color ColorEpsilonTransition = new Color(200, 100, 100);

	public static Color NODE_BORDER = new Color(100, 100, 100);
	public static Color NODE_ACTIVE_BACKGROUND = new Color(190, 190, 230);
	public static Color NODE_BEGINNING_NODE = new Color(50, 150, 150);
	public static Color NODE_TEXT = new Color(100, 0, 0);
	public static Color NODE_ARROW = new Color(100, 100, 100);
	public static Color NODE_ARROW_TEXT = new Color(100, 100, 100);
	public static Color CONNECTION_ACTIVE = new Color(0, 0, 255);
	public static Color BACKGROUND = new Color(255, 255, 255);
	public static Color TemporaryTransition = new Color(200, 200, 200);

	public static final String ColorNow = "#28F050";
	public static final String ColorWrong = "#FAB4B4";
	public static final String ColorFinished = "#C0FFC0";
	public static final String ColorNormal = "#FFFFFF";

	
	public static final String Transition = "Uebergang";
	public static final String Source = "Quelle";
	public static final String Character = "Zeichen";
	public static final String End = "Ziel";
	public static final String NewTransitionRow = "neu";
	public static final String TransitionTable = "Uebergangstabelle";
	public static final String AllocationTable = "Zustandsmatrix";
	public static final String DeleteTransition = "Loeschen";
	public static final String ChooseAction = "Aktion waehlen";
	public static final String MainMenuAutomatix = "Uebungsaufgaben lösen";
	public static final String MainMenuDescKleene = "Beschreibung Konstrukt Kleene Star";
	public static final String MainMenuDescConcat = "Beschreibung Konstrukt Konkatenation";
	public static final String MainMenuDescENFA2NFA = "Umwandlung eNEA-->NEA";
	public static final String MainMenuDescNFA2DFA = "Umwandlung NEA-->DEA";
	public static final String Simulate = "Simuliere: ";

	
	//**************************ProblemCtrl***********************//
	public static final String PCPreview_DE			= "Vorschau";
	public static final String PCTemplateLabel1_DE			= 		"Waehlen Sie bitte ";
	public static final String PCTemplateLabel2_DE	 		= 		"eine Vorlage aus";

	
	
	
	public static final String PCPreview 				= "Preview";
	public static final String PCCannotSave 		= 	"No route to server, automata can not be saved.";
	public static final String PCNameNeeded		= 	"Name should not be empty.";
	public static final String PCReqNeeded			= 	"please write some words in requirements.";
	public static final String PCSaveAs				=	"Save current automata  \n with a name :";
	public static final String PCSaved					=	"The automata has been saved succesfully with ID:";
	
	//**************************Template4***********************//
	public static final String Tp4Opt1_DE = "Mealy";
	public static final String Tp4Opt2_DE = "Moore-Automaten";
	
	//**************************Template8***********************//
	public static final String Tp8Label_DE = "Geben Sie bitte die gewuenschte Wortfolge ein:";

	//**************************Template9***********************//
	public static final String Tp9Label_DE = "Zu Ueberpruefende Wortfolge:";
	public static final String Tp9Match_DE = "Wird erkannt";
	public static final String Tp9NotMatch_DE = "Wird nicht erkannt";

	
	//**************************Template15***********************//
	public static final String Tp15OptYes = "Richtig";
	public static final String Tp15OptNo = "Falsch";
	public static final String Tp15LabelReg = "Begruenden Sie bitte Ihre Antwort unten:";

	//**************************Template16***********************//
	public static final String Tp16LabelEXpression = "Erklaeren Sie bitte Ihre Antwort unten:";
	
	//Germany Language 
	public static final	String	rightAnswer_de	=	"Richtige Loesung!";
	public static final	String	wrongAnswer_de	=	"Falshe Loesung!";
	public static final	String	label_Name		=	"Name:";
	public static final	String	label_Task		=	"Aufgabe:";
	public static final	String	label_Template	=	"Waehlen Template aus";

	
	

}
